package com.guodu.dao;

import java.util.List;

import com.guodu.entity.DeviceInformation;
import com.guodu.entity.DeviceInformationStatus;
import com.guodu.entity.Units;
import com.guodu.vo.DeviceInformationQueryVo;

public interface DeviceInformationDao {
	public int findSizeByVo(DeviceInformationQueryVo deviceInformationQueryVo,Units units);
	public List<DeviceInformation> findByVo(DeviceInformationQueryVo deviceInformationQueryVo,Units units,
			int curPage, int pageSize);
	
	public List<DeviceInformation> downLoad(DeviceInformationQueryVo deviceInformationQueryVo,Units units);
	public void examinAll(DeviceInformationQueryVo deviceInformationQueryVo,Units units);
	public void save(DeviceInformation deviceInformation);
	
	void examine(String ids, Long status);
	void delByIds(String[] ids);
	
	public DeviceInformation findById(String id);
	
	public void update(DeviceInformation deviceInformation);
	
	public void changeStatus(List<DeviceInformationStatus> deviceInformationStatuslist);

	public List<DeviceInformationStatus> findStatus(String id);
	
	public void deleteById(String id);
}
